source/bsond.d(602,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/mondo.d(895,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/mondo.d(899,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/bsond.d(820,4): Error: none of the overloads of `opApply` are callable using argument types `(int delegate(ref const(string) __applyArg0, const(BsonValue) v) @system)`, candidates are: source/bsond.d(452,8): `bsond.BsonObject.opApply(int delegate(const(BsonValue)) dg)` source/bsond.d(467,8): `bsond.BsonObject.opApply(int delegate(ref const(string), const(BsonValue)) dg)` source/bsond.d(206,71): Error: template instance `bsond.exportJson!(BsonObject)` error instantiating source/bsond.d(206,71): Error: `@safe` function `bsond.BsonObject.toString` cannot call `@system` function `bsond.exportJson!(BsonObject).exportJson` source/bsond.d(800,16): `bsond.exportJson!(BsonObject).exportJson` is declared here source/bsond.d(758,4): Error: none of the overloads of `opApply` are callable using argument types `(int delegate(ref const(string) __applyArg0, const(BsonValue) v) @system) const`, candidates are: source/bsond.d(452,8): `bsond.BsonObject.opApply(int delegate(const(BsonValue)) dg)` source/bsond.d(467,8): `bsond.BsonObject.opApply(int delegate(ref const(string), const(BsonValue)) dg)` source/bsond.d(208,70): Error: template instance `bsond.exportRaw!(const(BsonObject))` error instantiating source/bsond.d(208,70): Error: `@safe` function `bsond.BsonObject.exportData` cannot call `@system` function `bsond.exportRaw!(const(BsonObject)).exportRaw` source/bsond.d(746,28): `bsond.exportRaw!(const(BsonObject)).exportRaw` is declared here source/bsond.d(219,30): Error: `@safe` function `bsond.BsonObject.importData` cannot call `@system` function `bsond.genericParse!(BsonObject).genericParse` source/bsond.d(1302,11): `bsond.genericParse!(BsonObject).genericParse` is declared here source/bsond.d(225,44): Error: cast from `const(string)` to `ubyte*` not allowed in safe code source/bsond.d(225,63): Error: cast from `const(string)` to `ubyte[]` not allowed in safe code source/bsond.d(225,90): Error: cannot take address of local `error` in `@safe` function `importData` source/bsond.d(235,51): Error: `this.exportData().ptr` cannot be used in `@safe` code, use `&this.exportData()[0]` instead source/bsond.d(263,27): Error: `@safe` function `bsond.BsonObject.opEquals` cannot call `@system` function `bsond.BsonObject.opIndex!string.opIndex` source/bsond.d(374,21): `bsond.BsonObject.opIndex!string.opIndex` is declared here source/bsond.d(263,38): Error: `@safe` function `bsond.BsonObject.opEquals` cannot call `@system` function `bsond.BsonObject.opIndex!string.opIndex` source/bsond.d(374,21): `bsond.BsonObject.opIndex!string.opIndex` is declared here source/bsond.d(497,76): Error: `@safe` function `bsond.BsonArray.importData` cannot call `@system` function `bsond.genericParse!(BsonArray).genericParse` source/bsond.d(1302,11): `bsond.genericParse!(BsonArray).genericParse` is declared here source/bsond.d(895,35): Error: `@safe` function `bsond.BsonValue.exportRaw` cannot call `@system` function `bsond.exportRaw!(const(BsonObject)).exportRaw` source/bsond.d(746,28): `bsond.exportRaw!(const(BsonObject)).exportRaw` is declared here source/bsond.d(820,4): Error: none of the overloads of `opApply` are callable using argument types `(int delegate(ref const(string) __applyArg0, const(BsonValue) v) @system) const`, candidates are: source/bsond.d(452,8): `bsond.BsonObject.opApply(int delegate(const(BsonValue)) dg)` source/bsond.d(467,8): `bsond.BsonObject.opApply(int delegate(ref const(string), const(BsonValue)) dg)` source/bsond.d(962,72): Error: template instance `bsond.exportJson!(const(BsonObject))` error instantiating source/bsond.d(962,72): Error: `@safe` function `bsond.BsonValue.toString` cannot call `@system` function `bsond.exportJson!(const(BsonObject)).exportJson` source/bsond.d(800,16): `bsond.exportJson!(const(BsonObject)).exportJson` is declared here source/bsond.d-mixin-1152(1152,1): Error: field `BsonType.asBsonObject` cannot access pointers in `@safe` code that overlap other fields /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.